const express = require('express');
const router = express.Router();

const userController = require('../../controller/client/userController');

// 注册
router.post('/register', userController.register);
router.post('/login', userController.login);
router.post('/forget', userController.forget);
router.post('/userInfo', userController.userInfo);
router.post('/update', userController.update);
router.post('/del', userController.del);
// 读取博主信息
router.post('/getBloger', userController.getBloger);

module.exports = router;
